import request from '@/utils/request'

// 可采购终端查询
export function getNewsList(data: any) {
    return request({
        url: '/news/getList',
        method: 'get',
        params: data
    })
}
// 获取分享注册验证码
export function getSecurityCode(data: any) {
    return request({
        url: '/register/getSecurityCode',
        method: 'post',
        data
    })
}
// 分享注册
export function share(data: any) {
    return request({
        url: '/register/share',
        method: 'post',
        data
    })
}
